package com.vv.api_manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vv.api_manage.entity.ApiInterface;
import com.vv.api_manage.entity.ApiInterfaceVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface IApiInterface extends IService<ApiInterface> {

    /**
     * 根据文档导入api
     */
    Map<String,Object> importApi(MultipartFile file);

    /**
     * 新增api接口记录
     */
    Map<String,Object> addApi(ApiInterfaceVO interfaceVO);

    Map<String, Object> updateApi(ApiInterfaceVO interfaceVO);
}
